Technical Q&As


QD3D 73 - Default Surface/Shader UV Params For Caps of Cones & Cylinders (11-July-97)


Q Does anyone know what the default surface/shader UV parameterizations are for the caps of cones and cylinders in QuickDraw 3D version 1.5?

A Check out the article titled, "New QuickDraw 3D Geometries", by Philip J. Schneider in develop journal issue 28. Look for the section "Ellipsoids, Cones, Cylinders, and Tori", where you'll find a discussion about the default UV parameterization of these primitives. Here's a relevant excerpt from the article: "For the cone and cylinder, the parametric origin is on the bottom edge, at the point where the majorRadius vector ends. V goes up while U goes around in the direction shown by the arrows. The bottom of the cone, and the top and bottom of the cylinder, are parameterized exactly like the disk." The discussion about the disk primitive is in the article as well.



-- Scott Kuechle
Worldwide Developer Technical Support

Technical Q&As
Previous Question | Contents | Next Question

To contact us, please use the Contact Us page.